//
//  RBConfig.m
//  基本结构
//
//  Created by 蓝其 on 16/10/19.
//  Copyright © 2016年 蓝其. All rights reserved.
//

#import "RBThemeConfig.h"
#import "UIColor+YYAdd.h"

@implementation RBThemeConfig

+ (UIFont *)tabBarTextFont
{
    return [UIFont systemFontOfSize:13];
}

+ (UIColor *)tabBarNormalColor
{
    return [UIColor colorWithHexString:@"#848484"];
}

+ (UIColor *)tabBarSelectColor
{
    return [UIColor colorWithHexString:@"#518CFF"];
}

+ (UIFont *)navigationTitleFont
{
    return [UIFont systemFontOfSize:17];
}

+ (UIFont *)navigationItemFont
{
    return [UIFont systemFontOfSize:15];
}

+ (UIColor *)themeColor
{
    return [UIColor colorNamed:@"themeColor"];
}

+ (UIColor *)textBlackColor
{
    return [UIColor colorNamed:@"textBlackColor"];
}

+ (UIColor *)textLightBlackColor
{
    return [UIColor colorNamed:@"textLightBlackColor"];
}

+ (UIColor *)textGrayColor
{
    return [UIColor colorNamed:@"textGrayColor"];
}

+ (UIColor *)textLightGrayColor
{
    return [UIColor colorNamed:@"textLightGrayColor"];
}

+ (UIColor *)bgGrayColor
{
    return [UIColor colorNamed:@"bgGrayColor"];
}

+ (UIColor *)lineGrayColor
{
    return [UIColor colorNamed:@"lineGrayColor"];
}

+ (UIColor *)priceRedColor
{
    return [UIColor colorNamed:@"priceRed"];
}

+ (UIColor *)buttonBlueColor
{
    return [UIColor colorNamed:@"buttonBlue"];
}

+ (UIColor *)randomColor
{
    //0.2-0.7
    CGFloat red = arc4random_uniform(100)/200.0 + 0.2;
    CGFloat green = arc4random_uniform(100)/200.0 + 0.2;
    CGFloat blue = arc4random_uniform(100)/200.0 + 0.2;
    return [UIColor colorWithRed:red green:green blue:blue alpha:1];
}

@end
